package com.rui.sideup.module.easyexcel.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {

    @ExcelProperty(value = {"年级"}, index = 0)
    private String grade;

    @ExcelProperty(value = {"姓名"}, index = 1)
    private String name;

    @ExcelProperty(value = {"年龄"}, index = 2)
    private Integer age;

    @ExcelProperty(value = {"性别"}, index = 3)
    private String sex;

    @ExcelProperty(value = {"综合素质评价"}, index = 4)
    @ColumnWidth(50)
    private String evaluate;

    @ExcelProperty(value = {"综合评分"}, index = 5)
    @ColumnWidth(20)
    private String score;

}
